/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 */
package org.nanhill.commons.pattern.flow;

/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 * 
 */
public class DefaultEventFactory implements EventFactory {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.nanhill.commons.pattern.automaton.EventFactory#createEvent(org.nanhill.commons.pattern.automaton.State,
	 *      org.nanhill.commons.pattern.automaton.State)
	 */
	public Event createEvent(String id, String on, State from, State to) {
		return new DefaultEvent(id, on, from, to);
	}

}
